<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
 <div style="padding:20px">
	<table cellpadding="0" cellspacing="0" class="form-table">

		<tr>
			<td>标题：</td>
			<td><input id="title"  name="release.title"  
				style="width: 200px; height: 20px;" type="text"
				class="easyui-validatebox" > <input
				id="userid" name="release.userid" type="hidden"
				class="easyui-validatebox" style="width: 200px"></input> <input
				id="aid" name="release.aid" type="hidden" class="easyui-validatebox"
				style="width: 200px"></input> <input type="hidden" id="adverstate"
				name="release.adverstate" value="adverstate103" /></td>
		</tr>
		<tr>
			<td>上传图片:</td>
			<td><input name="release.photo"
				style="width: 200px; height: 20px;" class="easyui-file" id="photo"
				type="file">
				 
				</td>
		</tr>
		<tr>
			<td>广告类型:</td>
			<td><input id="advertype"   class="easyui-combobox"
				name="release.advertype" style="width: 200px" 
				 
				url="<c:url value='/permissions/role/outDicJsonByNicknameRole.tg?nickName=advertype'/>"
				valueField="value" textField="name"></input></td>
		</tr>

		<tr>
			<td>发布方式:</td>
			<td><input id="releasepattern"  onselect="releasepat()"
				name="release.releasepattern" class="easyui-combobox"
				style="width: 200px; height: 20px;" type="text" 
				
				url="<c:url value='/permissions/role/outDicJsonByNicknameRole.tg?nickName=releasepattern'/>"
				valueField="value" textField="name"></input></td>
		</tr>
		<tr style="display: none;" id="starttimetr">
			<td>起止时间:</td>
			<td><input id="startDate"  class="easyui-datetimebox"
				  name="release.startDate"
				style="width: 150px; height: 20px;" type="text"></td>
			<td>结束时间:</td>
			<td><input id="endDate"  class="easyui-datetimebox"
				  name="release.endDate"
				style="width: 150px; height: 20px;" type="text"></td>
		</tr>
		<tr style="display: none;"  id="releasetimestr">
			<td>发布次数:</td>
			<td><input id="releasetime" class="easyui-validatebox"
				  name="release.releasetime"
				style="width: 200px; height: 20px;" type="text"></td>
		</tr>
		<tr>
			<td>发布价格:</td>
			<td><input id="price" class="easyui-numberbox" 
				name="release.price"
				data-options="min:1,max:1000000000,precision:2,required:true"
				style="width: 200px; height: 20px;" type="text"></td>

			 
		</tr>
		<tr>
			<td>评价:</td>
			<td><input id="needcomment"  class="easyui-combobox"
				name="release.needcomment" style="width: 200px" 
				
				url="<c:url value='/permissions/role/outDicJsonByNicknameRole.tg?nickName=status'/>"
				valueField="value" textField="name"></input></td>
		</tr>
		<tr>
			<td>广告介绍:</td>
			<td><textarea rows="2"  cols="40" id="introduction"
					name="release.introduction" class="easyui-validatebox"
					 style="width: 200px; height: 60px"></textarea></td>
		</tr>
		<tr id="clickpricetr" style="display: none;"> <td>单次点击金额</td><td><input id="clickprice"    class="easyui-numberbox"
				name="release.clickprice"
				data-options="min:1,max:1000000000,precision:2"
				style="width: 200px; height: 20px;" type="text"></td></tr>
	<tr>
	<input type="hidden" id="longitude"  name="release.longitude" >
	<input type="hidden" id="latitude" name="release.latitude" >
	</tr>

	</table>
 
</div>


